import { BaseEntity } from '../../base/entity/base';
import { Column, Entity, Index } from 'typeorm';

/**
 * 商品信息
 */
@Entity('order_city')
export class OrderCityEntity extends BaseEntity {
  @Column({ comment: '城市名称' })
  cityName: string;

  // 备注
  @Column({ comment: '备注', nullable: true, type: 'text' })
  remark: string;

  @Column({ comment: '城市描述', nullable: true, type: 'text' })
  goodsDescription: string;

  // 状态
  @Column({ comment: '状态', default: 1 })
  status: number;

  // 类型
  @Column({ comment: '类型', default: 1 })
  type: number;
}
